package com.springboot.dto;

/**
 * 助理端我的界面展示视图
 */
public class AssistantMineView {
    private String logoLink;
    private Integer unReadMessageCount;

    public AssistantMineView(){}

    public AssistantMineView(String logoLink, Integer unReadMessageCount) {
        this.logoLink = logoLink;
        this.unReadMessageCount = unReadMessageCount;
    }

    public String getLogoLink() {
        return logoLink;
    }

    public void setLogoLink(String logoLink) {
        this.logoLink = logoLink;
    }

    public Integer getUnReadMessageCount() {
        return unReadMessageCount;
    }

    public void setUnReadMessageCount(Integer unReadMessageCount) {
        this.unReadMessageCount = unReadMessageCount;
    }

    public String toString1() {
        if(logoLink!=null)
        {
            logoLink=logoLink.replaceAll("","");
        }
        return "{" +
                "\"img\":\"" + logoLink + '\"' +
                ", \"unreadNum\":\"" + unReadMessageCount + '\"' +
                '}';
    }

}
